package cn.wolfcode.trip.base.query;

        import com.github.pagehelper.PageInfo;
        import lombok.Getter;
        import lombok.Setter;

        import java.util.List;

/**
 * @author Wangyk
 * @date 2019/1/15 18:54
 */
@Getter
@Setter
public class FriendTravelSharePageInfo<T> extends PageInfo {

    Boolean travelsHasNextPage;//游记是否有下一页

    Boolean picturesHasNextPage;//图片是否有下一页

    /**
     * 构造器
     *
     * @param list
     * @param travelsHasNextPage
     * @param picturesHasNextPage
     */
    public FriendTravelSharePageInfo(List<T> list, Boolean travelsHasNextPage, Boolean picturesHasNextPage) {
        super(list);
        this.travelsHasNextPage = travelsHasNextPage;
        this.picturesHasNextPage = picturesHasNextPage;
    }
}